package com.anti_poverty_detection_system.springboot.service;

import com.anti_poverty_detection_system.springboot.model.Users;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZITONG BAI
 * @since 2024-06-17
 */
public interface IUsersService extends IService<Users> {
    Users getUserByUsername(String username);
    Users getUserByUserId(Integer userId);
    boolean deleteUserByUsername(String username);

    Page<Users> getUsers(Page<Users> page);

    Page<Users> getSearchUsers(Page<Users> page,Users users);
}
